Optimal. Leaf size=27 \[ -\frac {\sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {1-a x}}{\sqrt {2}}\right )}{a} \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {627, 63, 206} \begin {gather*} -\frac {\sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {1-a x}}{\sqrt {2}}\right )}{a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 63
Rule 206
Rule 627
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {1+a x} \sqrt {1-a^2 x^2}} \, dx &=\int \frac {1}{\sqrt {1-a x} (1+a x)} \, dx\\ &=-\frac {2 \operatorname {Subst}\left (\int \frac {1}{2-x^2} \, dx,x,\sqrt {1-a x}\right )}{a}\\ &=-\frac {\sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {1-a x}}{\sqrt {2}}\right )}{a}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 53, normalized size = 1.96 \begin {gather*} \frac {\sqrt {a x+1} \sqrt {2 a x-2} \tan ^{-1}\left (\frac {\sqrt {a x-1}}{\sqrt {2}}\right )}{a \sqrt {1-a^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.10, size = 47, normalized size = 1.74 \begin {gather*} -\frac {\sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {a x+1}}{\sqrt {2 (a x+1)-(a x+1)^2}}\right )}{a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.40, size = 63, normalized size = 2.33 \begin {gather*} \frac {\sqrt {2} \log \left (-\frac {a^{2} x^{2} - 2 \, a x + 2 \, \sqrt {2} \sqrt {-a^{2} x^{2} + 1} \sqrt {a x + 1} - 3}{a^{2} x^{2} + 2 \, a x + 1}\right )}{2 \, a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 43, normalized size = 1.59 \begin {gather*} -\frac {\sqrt {2} \log \left (\sqrt {2} + \sqrt {-a x + 1}\right ) - \sqrt {2} \log \left (\sqrt {2} - \sqrt {-a x + 1}\right )}{2 \, a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.09, size = 50, normalized size = 1.85 \begin {gather*} -\frac {\sqrt {-a^{2} x^{2}+1}\, \sqrt {2}\, \arctanh \left (\frac {\sqrt {-a x +1}\, \sqrt {2}}{2}\right )}{\sqrt {a x +1}\, \sqrt {-a x +1}\, a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {-a^{2} x^{2} + 1} \sqrt {a x + 1}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.04 \begin {gather*} \int \frac {1}{\sqrt {1-a^2\,x^2}\,\sqrt {a\,x+1}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {- \left (a x - 1\right ) \left (a x + 1\right )} \sqrt {a x + 1}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________